package com.cauli.file.model.dto.file;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Cauli
 * @date 2023-03-18 12:00
 * @description 重命名文件DTO
 */
@Data
@ApiModel(value = "RenameFileDTO", description = "重命名文件DTO")
public class RenameFileDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty("用户文件id")
    private Long userFileId;

    @ApiModelProperty("文件名")
    private String fileName;
}
